home *** CD-ROM | disk | FTP | other *** search
/ Hráč 2004 August / Hrac_72_2004-08_dvd.iso / dema / Rapid Gun / rg_setup.exe / common / basic_vs.fxh next >
Text File  |  2004-04-19  |  698b  |  18 lines

  1. // LF2 Engine
  2. // (C) 2002-3 7FX
  3. //---------------------------------------------------------------------------
  4. // Common base vertex shader
  5. //---------------------------------------------------------------------------
  6. const matrix cMtxWVP : WorldViewProjection;
  7. //---------------------------------------------------------------------------
  8. void BasicVS(float4 Position : POSITION, out float4 OutPosition : POSITION)
  9. {
  10.     OutPosition = mul(Position, cMtxWVP);
  11. }
  12. //---------------------------------------------------------------------------
  13. shared const vertexshader cBasicVS = compile vs_1_1 BasicVS();
  14. //---------------------------------------------------------------------------
  15.  
  16.  
  17.  
  18.